Print entity id upon creation.

This is helpful for writing unit tests and is also just generally useful.