Make types work in placeholder parser

This requires the parser to take an option object.
`convertValueToIdentifierToken(value)` ?