on live the itemID is always nil. its causing errors in blizzards own code because they use that to generate the chatlink.
you would hope they chose a better way to reference things than their position in a local list (which they seem to like doing a lot).
There is a concept of a currency ID, but there's no way to get that ID programmatically... and IDs for currencies you haven't seen will return nil results, even if the currency is valid (with the exception of the Archaeology currencies).
The itemID is actually one of 4 unknowns that are returned...