What do you think about using Sanitizer::escapeId( $headline, 'noninitial' ); ?