I'd go with sauog's suggestion but would use a regular hash. You already have the reference so you don't need the tie to preserve it. If you wanted to delve deeper, I do believe that there are some user defined flags you could set on the SV itself IIRC, but I would just use the hash method.