added ability to specify namespace for objects created

Added namespace specification to get_id