GUI-562: Simplify regex for id attribute escape filter.