add lookup_idarray method to the Datapos class