Add IDGenerator to create unique ID.