Added id for entity

Needed for some debugging/future features