Fixed bug in generating temporary name for new objects.
During hashconsing, don't merge instance models and plain object models.