The Hogwarts ghost known as Nearly Headless Nick has the full, formal name:
This name is revealed in Harry Potter and the Sorcerer's Stone (Chapter 7, during the Sorting Hat scene) when Nick introduces himself to the first-year students at the Gryffindor table.
The elaborate, slightly ridiculous name perfectly suits Nick's character: a proud but somewhat pompous ghost who takes great offense at being excluded from the Headless Hunt (requiring complete decapitation). His full name emphasizes the gap between his self-image as a noble courtier and his eternal state as a "nearly" headless ghost.