parser: Add .typeid syntactic sugar.