validate term and synonyms uniqueness