function setModelViewInstanceId (modelViewInstance) {
    // data to calculate unique id from
    var idData = {
        args: modelViewInstance.args,
        name: modelViewInstance.name,
        modelViewId: modelViewInstance.modelViewId,
    }
    // set id on model view instance
    modelViewInstance.modelViewInstanceId = stableId(idData)
}
function setModelViewInstanceId (modelViewInstance) {
    
    var idData = {
        args: modelViewInstance.args,
        name: modelViewInstance.name,
        modelViewId: modelViewInstance.modelViewId,
    }
    
    modelViewInstance.modelViewInstanceId = stableId(idData)
}
function setModelViewInstanceId ( modelViewInstance ) { // data to calculate unique id from var idData = { args : modelViewInstance . args , name : modelViewInstance . name , modelViewId : modelViewInstance . modelViewId , } // set id on model view instance modelViewInstance . modelViewInstanceId = stableId ( idData ) }
@function setModelViewInstanceId

calculate and set modelViewInstanceId for model view instance object

@param {object} modelViewInstance
@function setModelViewInstanceId