code: public LdapEntry getEntityByIdentifier(IdentifierType id, List<String> inEntityTypes, List<String> propNames, boolean getMbrshipAttr,
                                             boolean getMbrAttr) throws WIMException {
          return getEntityByIdentifier(id.getExternalName(), id.getExternalId(), id.getUniqueName(),
                                       inEntityTypes, propNames, getMbrshipAttr, getMbrAttr);
      }
docs: Get an LDAP entity by an identifier.
  
  @param id An {@link IdentifierType} entity.
  @param inEntityTypes The acceptable entity types to look up.
  @param propNames The property names to return in the LdapEntry.
  @param getMbrshipAttr Whether to return the membership attribute.
  @param getMbrAttr Whether to return the member attribute.
  @return The {@link LdapEntry} corresponding to the identifier.
  @throws WIMException If there was an error retrieving the LDAP entity.