Welcome
Check this to see how ZOS handles them:
https://www.esoui.com/downloads/info...ourcecode.html
Use the addon zgoo or torchbug to browse this instance:
ZO_COLLECTIBLE_DATA_MANAGER
And yes, if ZOS calls something ID it will not change (that soon). And if it is called index, it relative and can change from version to version.