Add class to manage a list of unique names and create indexes for them.

@kevinkreiser @gknisely @dgearhart