added support for TGN, added flag for assigned elements, added support for multiple vocabs assigned to single element