App unique identifier & fighting piracy

Hello guys,
I was thinking about some way to “fight” app piracy, and was wondering, is there some app unique identifier stored somewhere in the app when someone buy an app from the appstore?
Not talking about the device identifier (I guess you can use getinfo deviceID for that), but an ID linking app and buyer.

For example if Mr. A buy the app, apple save a unique serial number, let’s say 12345 inside the app, and as programmer, you have some function to retrieve this ID. If this user install the app on 5 devices, every device respond with the same serial number (while the deviceID of course is different).

Do you know if something like this exist? Not asking about Corona, but do you guys know if this kind of code exist (maybe in xcode)?
There is some kind of link between app and user (it’s how appstore works, right?), just wondering if there are some api to get this value.

Thanks!

[import]uid: 9158 topic_id: 5031 reply_id: 305031[/import]