Rename an error attribute