code: func Name(s string) string {
  	// Start with lowercase string
  	fileName := strings.ToLower(s)
  	fileName = path.Clean(path.Base(fileName))
  
  	// Remove illegal characters for names, replacing some common separators with -
  	fileName = cleanString(fileName, illegalName)
  
  	// NB this may be of length 0, caller must check
  	return fileName
  }
docs: // Name makes a string safe to use in a file name by first finding the path basename, then replacing non-ascii characters.