dealing with dot-replaced names for data frames in replace*NamesWithLabels