Inline EntityId functions
Added TODO look into moving data structure type into type parameter
Added some test
Fixed registering twice bug discovered through test