Prevented db.add from being able to add non-numeric IDs and print a detailed error if it is told to.