Make sure anchors are unique

Add a sequence number ala pandoc.