I have a logged a bug for the duplicated code and a feature request for the storage format.
I'm not sure I understand why datepickker_xxxwould be better than the datepicker_x format that is used? if you add 10 of the date pickers, it will still increment to datepicker_10 and so on.