Minor optimisation: cached UniqueID.