Changes to conform to new namespaces

Small changes in name-component.cc to conform to the new file names and class
names.