GetLootRollItemInfo(RollID) returns a string description from what I have seen.
I can also get a description of the item I am interested in using:
LOOT_ROLL_NEED_SELF = "You have selected Need for: %s";
A few weeks back my DK won two identical tokens on the same boss. I gave one away.
I am interested in writing a program that tracks what I rolled need on, who won, what they rolled, and what I rolled since in LFR there is often pages of information to scroll through and you can easily lose your place.
In the case of my DK I would not have a unique ID for each token but information about all the people rolling on both tokens and while I may think of way to resolve that without a unique ID for each loot item, if there is a way to associate the rolls using a unique ID I would prefer that to creating an algorithm to do it for me.
Example: DaveDK rolls need on first token and I record they are rolling need on the TokenOfUberness. CarolDK rolls need on second token and I record they are rolling need on a TokenOfUberness. My problem is I have recorded they are both rolling on a token, but it is not the same one.