Fix id canonical form.