If one ID field is filled in, but the other ID field is blank, you can add the missing ID using the Change Identification tag screen.
You can also add the missing ID on the Animal screens by typing the animal's ID directly in the blank field.