predicate: make next token id available to predicate code as 0

Signed-off-by: Peter Williams <pwil3058@gmail.com>