checking phenotype and genotype IDs