Changed get name to use Serial #

Changed the getname script to use the new Serial Number setup. Also
changed the script logic to generate a unique name for the computer if
it fails to find a previous name, instead of just naming the machine
“localhost”