On the uniformization of sets in topological spaces