Remove parentheses from headings before creating anchor IDs