Convert a Pair to a NameGuidPair with Pair.first as NameGuidPair.id and Pair.second as NameGuidPair.name.