add typedef for long unique id for entity