minor heading-link tweaks

- use id instead of name
- replace spaces with `_`

for html compliance

and tweak heading-anchor css to avoid blue visited links.