a few small changes to make getConceptID() more robust