A robust polyfill for the CSS.escape utility method as defined in CSSOM.