Fixed bug in loop condition (got it backwards)
Made some changes to idTable output
Initial implementation of CA identification

Doesn't yet generate the correct QualifiedRef subclasses.