Updated Consultant/Customer class to use an InvalidFormatException for
validation purposes.