code: function getPatternId(pattern) {
    var inconsiderate = pattern.inconsiderate
    var phrases = {}
    var result = []
    var phrase
    var category
  
    for (phrase in inconsiderate) {
      category = inconsiderate[phrase]
  
      if (!phrases[category] || phrases[category].length > phrase.length) {
        phrases[category] = phrase
      }
    }
  
    for (phrase in phrases) {
      result.push(phrases[phrase].replace(/[\s.]+/g, '-'))
    }
  
    return result.sort().join('-')
  }
docs: /* Get a unique identifier for a pattern.