func NormaliseDomainStrict(domain string) (string, error) {
	wildcard := false
	if strings.HasPrefix(domain, "*.") {
		wildcard = true
		domain = domain[2:]
	}
	output, err := pStrict.ToUnicode(strings.ToLower(domain))
	if err != nil {
		return "", err
	}
	if strings.HasPrefix(domain, ".") && !strings.HasPrefix(output, ".") {
		output = "." + output
	}
	if wildcard {
		output = "*." + output
	}
	return output, nil
}
NormaliseDomainStrict turns ENS domain in to normal form, using strict DNS
rules (e.g. no underscores)
package ens
import (
	"fmt"
	"strings"
)
func DomainLevel(name string) (level int) {
	return len(strings.Split(name, ".")) - 1
}
func NormaliseDomain(domain string) (string, error) {
	wildcard := false
	if strings.HasPrefix(domain, "*.") {
		wildcard = true
		domain = domain[2:]
	}
	output, err := p.ToUnicode(strings.ToLower(domain))
	if err != nil {
		return "", err
	}
	if strings.HasPrefix(domain, ".") && !strings.HasPrefix(output, ".") {
		output = "." + output
	}
	if wildcard {
		output = "*." + output
	}
	return output, nil
}