fetchClassInfo() getting id from curie when available