use long for object ids