Add getID() to Individual and its subclasses, write a utility method, and make all Problems call their objectives' setGeneration() method correctly.