Fix #14074: element id="nodeName"

#1373 seems to have been abandoned, so here's an alternative.

```
   raw     gz Compared to 1.x-master @ 94a9a4f1c2db7b80111fe24afc46de7c303f5a29
   -13    +14 dist/jquery.js
   -18     +8 dist/jquery.min.js
```