Added CID to circuitXML. Comparison between reference and database is impleemented