support for adding entities without specifying an id