check for duplicate concept IDs