resolve a page id to its canonical id