Was this wrong of me?

I attended a doctors appointment by myself. I was greeted by a female receptionist, very young though obviously a bit older than myself. She asked me for my full name and I said "Mr. Peter Donnelly".

Was this wrong of me?
Post Opinion