function hyphenate(string) {
  return string.replace(_uppercasePattern, '-$1').toLowerCase();
}
Given an `element` create an instance that will actually be mounted.

@param {object} element
@param {*} parentCompositeType The composite type that resolved this.
@return {object} A new instance of the element's constructor.
@protected