Include the page id in the serialised version of every content item and use this as the target for alias links