Ensure header anchors are unique