Stable key for one TagValue, e.g. "1|s:orders".
String tagValueKey(TagValue tv) => '${tv.tag.index}|${_valueKey(tv)}';