Give IDs to headings

In anticipation of `org-ruby` support.