Fix a regression: Accessing Element.id breaks in Safari.