code: function simpleRef(ref) {
    if (!ref) {
      return null;
    }
    var index = ref.lastIndexOf('/');
    if (index >= 0) {
      ref = ref.substr(index + 1);
    }
    return toClassName(ref);
  }
docs: Resolves the simple reference name from a qualified reference