Port `id` attribute to use atom.
Use atom to match id selector.
Merge pull request #2927 from saneyuki/id_atom

Port `id` attribute to use atom.