I just updated my iPad retina (3rd generation) with iOS 6 and now my Apple ID has been replaced with someone else's ID.

And its not jailbroken either. How did someone manage to do that? This is a serious security breach, I think.
I logged out of that Apple ID but how can I be sure that they are not tracking anything and won't be able to purchase through my account?