Add support for ID based entities
Add support for ID based entities

This allows entities that do not have a key name to be created and
edited without requiring the presence of a key_name.

Patch by: Sverre Rabbelier

MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging