1. A method, comprising: generating, by a processor, a mapping between factory identifiers and object classes; receiving, by the processor, a request including a factory identifier and an object identifier; using, by the processor, the mapping to identify an object class associated with the factory identifier; using, by the processor via a factory associated with the factory identifier, the object identifier to select an object from a plurality of objects of the object class; creating, by the processor via the factory, an instance of the object of the object class; tagging, by the processor, the instance of the object with data corresponding to the factory identifier and other data corresponding to the object identifier; returning, by the processor, the instance of the object in response to the request; preserving, by the processor, the factory identifier and object identifier as preserved information associated with the object instance; and using, by the processor, the preserved information to subsequently recreate or obtain the instance of the object.