$id could fail on browsers where DocumentFragment is used to emulate Document - IE 6-8