Added support for outputting idgen namespace