The Mac computer name is configured from the Sharing Settings.
Hover the mouse over the apple at the top left of the screen and click on System Preferences in the drop down menu.
Click on the Sharing icon, at the end of the third row.
In the texbox labelled as Computer name enter the new name for the computer.
Close System Preferences to complete.