make makeHeaderAnchors make an auto id

Record relationship between original id and auto id, so we can fix links
after.