added bugfixes and SQLReader adjustments for IDGenerator, added call for SmallgraphSQLExporter in SmallGraphWriter