[POC] Class based indexes

At the point where the instance is created, there is not access to the model or its fields (we are in a nested class in the model class definition). Options and/or the modelbase metaclass, will have to connect the model to the index.