'Get the argument in the form of a name
It is the argument stripped.
And not allowed to contain : or , or new line.'

def get_namearg(self):

    name = self.arg.strip()
    if (('\n' in name) or (':' in name) or (',' in name)):
        raise SyntaxError, ('Invalid    name:    %r' % name)
    return name
