I recently made a conscious effort to fix my naming scheme, and have since done so. In case you have a Mac and don't know how, here is the command to use if you want to change the hostname of your machine.
First, open up the Terminal app and enter the following:
sudo scutil --set HostName
The
I recommend that you nail down your own machine naming scheme prior to haphazardly naming your machines on the fly. But in the event this happens, you now have the knowledge you need.