The link ID is support to be just that a simple unique identifier so that whatever code is supposed to process / handle these links knows what this specific link is.
I have made a few posts related to this in the past. My suggestion is to use a dictionary where the linkID is the key and the link itself the content which can then be anything.
See the following post related to the above.