Share tags2

Supersedes #11351.
I think it would make sense to split this into two methods, getTagId and getTagIdOfUser