

def init(self, modelDocument):
    self.modelDocument = modelDocument
    self.objectIndex = len(modelDocument.modelXbrl.modelObjects)
    modelDocument.modelXbrl.modelObjects.append(self)
    id = self.get('id')
    if modelDocument:
        modelDocument.idObjects[id] = self

dataset/ETHPy150Open Arelle/Arelle/arelle/ModelObject.py ModelObject.init/VarMisuse@52/67 `id`->`modelDocument`