Parser::getSymbol() should use the name.

Rather than retrieve hard-coded 'name' symbol. Throws
\InvalidArgumentException on bad $name, rather
than suppressing and eating errors.
Argument spacing and default value consistency.