updated check.settings: models queried with model name and version

Rob - these are the changes I proposed earlier, so that either model id or model$name + model$revision could be set. It would have been much easier to just use settings$model$id! Let me know if you think these are worth keeping.