As other answers mention, this is a bug in Yosemite and will hopefully be gone when 10.10.4 releases. Until then, I have the following Keyboard Maestro action set up, which will automatically reset the system name whenever the system wakes up.
Mount Diskstation
Triggered by any of the following:
At System Wake
Will execute the following actions:
Shell Script
COMPUTER_NAME=Zephyr
sudo scutil --set ComputerName $COMPUTER_NAME
sudo scutil --set HostName $COMPUTER_NAME
sudo scutil --set LocalHostName $COMPUTER_NAME
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string $COMPUTER_NAME
Display results in a window.
I also have the following in /etc/sudoers:
ats ALL=(ALL) NOPASSWD: /usr/sbin/scutil --set ComputerName Zephyr, /usr/sbin/scutil --set LocalHostName Zephyr, /usr/sbin/scutil --set HostName Zephyr, /usr/bin/defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string Zephyr