improve get_id/get_name