In the Homer’s ‘The Odyssey’, When odyssey blind Polyphemus his objectives are made clear when Polyphemus next morning let his sheep go for graze. In addition, it adds a humorous and clever twist when odyssey lies about his name as 'Nobody' to rescue Polyphemus. Whereas, odyssey displays himself as cunning and proud when he reveals himself.
Odysseus proudly shouts his name while leaving cyclops's territory. He shouts his name loudly to torment cyclops which causes problems for him further.
Hence, anger and pride motivate Odysseus to reveal his name and men in more danger.