parser: add speculative page IDs to use with {{PAGEID}}