Parsing of the {#custom-id} cross-reference suffix.
{#custom-id}
Looks for a suffix at the end of one line's slice, without allocating the slice.