Add 'event' dfn/link type.
Fix some errors, catch selector errors gracefully.
Add 'argument' as a dfn/link type. Abstract the functionish types into a named set.
Only look for *empty* attributes with the dfn/link types, so I don't accidentally catch <a type=foo> and the like.
Add a requirement that functionish dfns end with (). Infer the for='' of <dfn argument>.
More comments. Use the type sets to figure out what things get the dom-for-text pattern for their id.  Make sure that said ids dont' contain illegal characters.