eval method
JavaRosa returns null for an undefined variable, which later fails
in a type conversion; DartRosa reports it directly (see
DEVIATIONS.md).
Implementation
@override
Object eval(DataInstance? model, EvaluationContext context) =>
context.variable(id.toString()) ??
(throw XPathUnhandledException('variable \$$id'));