(See the discussion in https://gerrit.wikimedia.org/r/#/c/311626/)
https://github.com/wikimedia/parsoid/blob/master/lib/utils/DOMUtils.js#L2678-L2693
mw ids aren't added to the dom which results in a lot of dirty diffs (ids aren't ignored when domdiff'ing).
Ignoring ids with a specialized attribute handler doesn't seem like a good solution.
We can add the ids by setting env.pageBundle = true;, but this is always going to be a best-faith effort when regenerating the dom (subbu's words). This is equally true in the opts.from === "html" case.
What to do? what to do? Should we drop this "feature" or fix the pagebundle path to work like html.