get rank_id