def METHOD_NAME( self, generator ):
    name,args = generator.split('(',1)
    try:
        module = __import__( name, fromlist=[''] )
    except:
        sys.exit('Failed: could not import nidlist generator `{0}`'.format(name) )
    return module.generate( args.split(')',1)[0] ) 