Made possible to generate ID for DB entity