WrappedEntity: added getEntityManager and getEntityWrapper methods
WrappedEntity: added hasField and hasAssociation methods
WrappedEntity: added getFlattenIdentifier method