Changed SQLExporter to work with new GC IDs

Also fixed small bug in ISGCIWriter where the SQLExporter is called.