PoW is PURELY the mechanism to create an expensive ID of a lump of data no matter what that data inside contains
Let me just interject, for OP and the newbies in the forum who might misunderstand the post, that the mechanism is NOT "useless", it was designed as a way to be a Sybil Attack protection mechanism for the network. It's also where Satoshi's brilliance is shown because it also was implemented to be the mechanism for issuing the currency, and therefore also incentivizing the miners to keep continuing.