I think we might need to escape `range.name` too. It happens that it's not necessary for CSS selectors (although it *almost* is, with `>`) and JS methods, but in the future if we had, say, LESS support, then there would be things like `&` in there, and there are other things people could use MultiRangeInlineEditor for that might have syntax that would need to be escaped.