deal with imported symbols
deal with imported symbols

don't assume that funcs have a literal 'id' field;
if they're not nake names, compute it using collapse_name.

also permit return annotations other than 'qbit' and 'classical'
(so that we permit 'Pulse').  Everything non-qbit is assume to
be classical; we don't distinguish more precisely.  this might
change

added importer to the instance fields

BBN-Q/pyqgl2,BBN-Q/pyqgl2