further improvements of the index

- double entries for main attributes
- break down base class usage by class category