code: function createInstance(desc) {
    var fields = ['exact', 'instance', 'selector'];
    utils.check(fields, desc);
    return { exact: desc.exact, instance: desc.instance, selector: desc.selector};
  }
docs: validates and creates an annotation instance