change entity type

Change entity type to long
Change ML getName() -- string to getId() -- long