make sure classification document on a given term is unique.