[TH] add timestamps from entity-id

Also add a unique schema attribute so that the
timestamps from attribute test has a unique field
to work from. Not strictly required, but is the
suggested way to work with it.