changing uint64_t typedef for entity id type to unsigned long int to avoid c++11 implementation conflicts