Footnote ids now use named sub-patterns.

See #121