trait_to_variant function

Map an EFO trait id to a variant id