fixup html anchor

change name to id,
add href to #anchor
replace space by underscore in anchor id and href