In the ninth book of the Odyssey, Odysseus tells his own story at a banquet. His audience knows his name. The Cyclops who shut him and his sailors inside a cave heard a different one. Over cups of strong wine, Odysseus introduced himself as Nobody. Polyphemus promised the stranger a guest's present. He would eat him last.
The name earns its keep when the blinded Cyclops calls for help. His neighbours ask whether someone is attacking him. His answer leaves them with no assailant to pursue. Even then there is a boulder across the door. To pass the giant's searching hands, the sailors cling underneath his sheep. Odysseus goes out under the ram that usually leads the flock.
He could finish the story there. Instead, once afloat, Odysseus shouts his real name and his father's, over his crew's protests. Polyphemus can now ask his own father, Poseidon, to punish a particular man. At the banquet, listeners are enjoying the fame that the sailor wanted so badly. They can also hear the price his companions paid for his signature on the escape.