static Concept getConcept(long id) {
ret mainConcepts.getConcept(id);
}
static A getConcept(Class cc, long id) {
ret getConcept(mainConcepts, cc, id);
}
static A getConcept(Concepts concepts, Class cc, long id) {
Concept c = concepts.getConcept(id);
if (c == null) null;
if (!isInstance(cc, c))
fail("Can't convert concept: " + getClassName(c) + " -> " + getClassName(cc) + " (" + id + ")");
ret (A) c;
}