'Sets database main storage (from the **id** index)'

def __set_main_storage(self):

    try:
        self.storage = self.indexes_names['id'].storage
        self.id_ind = self.indexes_names['id']
    except KeyError:
        pass
