Unfortunately, this didn't work for me. I followed the instructions, and most, if not all, of the permission errors related to printing (I'm assuming sharing). Anyway I rebooted, and immediately my computer was renamed "Matt's MacBook Pro (2)" again. Changed it in Sys Prefs > Sharing, and it reverted back to the (2) again within seconds.
This is very annoying as my iPhone won't sync over wifi to my MBP (as it's looking for "Matt's MacBook Pro" and my MBP's name keeps changing (I've not had it show up under Shared in Finder, but it has got as high as (10) when looking at the header in Finder), and it's renamed the sparse bundle on my Time Capsule to (2) as well, so I don't know what it's doing with TM backups... I think it's also causing problems with login/boot up, as I have an Apple Script set to execute at start up that mounts two network drives (my NAS and my TC) and before this problem I never had to log into my TC, but now on every boot I'm asked to enter a password for my TC, and even though I click "Remember in my Keychain" it does it again next boot.
Anyway, I already turned off "Wake on LAN" yesterday, because I kept coming downstairs in the morning to find the computer wasn't sleeping, and I've just turned off printer sharing as, well, the only computer on my network is my MBP, and I rarely print (my printer is connected to my TC via USB cable to make it possible to print without physically having to take my MBP upstairs and plug in via USB. Not sure how turning off Printer Sharing in Sys Prefs will affect this?)
Hopefully Apple will sort this out soon, as thus far Yosemite is proving quite annoying. Like how the App Store is insisting I upgrade iMovie, but then won't let me as it says it has no record of it being associated with my Apple ID (which it won't, as I bought it on the iLife '11 DVD and installed manually, not from the App Store), but yet it's still there, asking to be updated (in the App Store I mean; if I open iMovie it tells me it's up to date, even though it's not version 10) *sigh* Apple stuff is great when it works, but when it doesn't, it's ever so frustrating.......