Lol I said I was a MS guy. I'm new to Sony.
LOL! Friend Codes? Friend Codes? You say your an MS guy and you use the term 'Friend Codes'?
Sorry, it's just that Nintendy's entire network infrastructure is such a joke.
Anyway, yes as others have said; you create a Sony Entertainment Network account to access the Playstation Network. You can still just call it a PSN account.
You can make it now here:
https://store.playstation.com/accounts/register/beginNewAccountRegistrationFlow.action