Tagging: Add a way for removing a tag from a TP

Fixes bug 3054
Tagging-squash: Don’t use duplicate id