added demo page and functionality to avoid duplicated IDs with headings ...

...of the same text content