Add es5id. Strip colons from attributes if they already exist.