1. A computer-implemented method for importing objects, the method comprising: identifying, using a computer system, a plurality of structured electronic documents, each of which defines an object to be imported into a database; processing, using the computer system, the plurality of structured electronic documents in a first phase that comprises, for each of the structured electronic documents: analyzing the structured electronic document to obtain an identifier associated with the object to be imported, the identifier being incompatible for use as an index in the database; generating a converted identifier from the identifier associated with the object to be imported, the converted identifier being compatible for use as an index in the database; analyzing the structured electronic document to determine whether the object to be imported is related to one or more other objects defined by the plurality of structured electronic documents that have yet to be stored in the database, and if so, generating contextual information that defines a relationship between the object to be imported and the one or more other objects, the contextual information including the converted identifier and a relational identifier for each of the one or more other objects; and storing the object defined by the structured electronic document in the database; and processing, using the computer system, the contextual information in a second phase that comprises at least establishing relationships in the database between related objects using the contextual information.