Added a reducer for creating new ids.