Every product needs an ID, but different kinds of items use different ID formats. Design the classes that generate them.
Every product needs an ID, but different kinds of items use different ID formats. Design the classes that generate them.
Opens with the full question.