code: void store(ReferenceableInstance i) throws RepositoryException {
          int pos = idPosMap.get(i.getId());
          typeNameList.set(pos, i.getTypeName());
          storeFields(pos, i);
  
          for (HierarchicalTypeStore s : superTypeStores) {
              s.store(i);
          }
      }
docs: - store the typeName
  - store the immediate attributes in the respective IAttributeStore
  - call store on each SuperType.
  @param i
  @throws RepositoryException