move an attribute "id" to the generated entity.