ID to Index switch