Add unique constraints on vocabulary/local_name.