Get token id
$tok
Retrieve the id of the named token.
tok
Name of the token as used in Parle\RParser::token.
Returns int representing the token id.