change syntax of section id
add plumbing for the toc
only set non-nil metadata, use literal string
update TODO