code: public boolean isIdProperty(OgmEntityPersister persister, List<String> namesWithoutAlias) {
  		String join = StringHelper.join( namesWithoutAlias, "." );
  		Type propertyType = persister.getPropertyType( namesWithoutAlias.get( 0 ) );
  		String[] identifierColumnNames = persister.getIdentifierColumnNames();
  		if ( propertyType.isComponentType() ) {
  			String[] embeddedColumnNames = persister.getPropertyColumnNames( join );
  			for ( String embeddedColumn : embeddedColumnNames ) {
  				if ( !ArrayHelper.contains( identifierColumnNames, embeddedColumn ) ) {
  					return false;
  				}
  			}
  			return true;
  		}
  		return ArrayHelper.contains( identifierColumnNames, join );
  	}
docs: Check if the property is part of the identifier of the entity.
  
  @param persister the {@link OgmEntityPersister} of the entity with the property
  @param namesWithoutAlias the path to the property with all the aliases resolved
  @return {@code true} if the property is part of the id, {@code false} otherwise.