finer scoping for callout
finer scoping for biblioanchor
tweak entity scope name
finer scoping for index entries
much finer scoping for macros
similarly, much finer scoping for pass macros
better scope name for xmlentity
much finer scoping for xref