Replace deme_count by demeID in optim_parameters

That way if deme is expanded in breadth-first fashion we can
differentiate between sbling demes.