Allow to create entities with a given id attribute