Added assertion check for `idref` attribute
Added support for spatial/temporal terminating steps
Fix number definition to correctly capture decimal value
Correct number grammar
Added method to get terminal step