Remove obsolete use line.
Allow tag ID as parameter for getIdsForTag().
Check only local backend for existence of tag of same name when adding new one.
Simplify shared backend.
Handle tags via a newly created Tag class.