Rewrite entity.__get_id_list