Share tags2

Supersedes #11351.
Originally, the array keys in `$this->tags` were the keys of the tags at that office. (They still are, but they're not used anymore to determine the ID; rather, getID() is now used.) So we should probably be safe with your change.