Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.