support getId using name_id style