Some (bootstrap's scrollspy for example) might want to select elements like this: a[href=the-converted-id]