Implemented better Id generation for models.

Now the ID isn't just a number, it is a combinition of one or more of
the following:

The date, the meal number, the ingredient number, the nutrient number.