make sure names are unique.