added id and type to csv exporter to allow for better reporting purposes