[TH] make attribute value timestamps fn deterministic

Now only will return timestamps if the attribute is
unique.