Tag publications to terms - WIP.

Relate to issue #1870