Partial fix for the `lgtdoc` tool scripts that generate (X)HTML documentation that add anchors to each predicate section using as name the predicate indicator

The generated (X)HTML code is still not strictly valid due to the use of the `/` character in `id` attributes