On uniformization of sets in topological spaces