Working PAGE NUMBERS in the table of contents

A bit crude right now, but based on data-elements that are read by
book.js. We need
to get a unique id for each table of contents item.