Faster generation of entity identifiers when dynamically creating a large number of entities at runtime