code: function normalizeField(input) {
    assert(input.name, 'fields must have a name');
  
    var ret = clone(input);
  
    var cls = normalizeClass(input.class);
    if (cls) ret.class = cls;
  
    return ret;
  }
docs: Takes the `input` link value and normalizes it into a single object.
  
  @param {Object} input  The field value to normalize.
  @return {Object}