code: function generateShortName (name, filename, css) {
    // first occurrence of the name
    // TODO: better match with regex
    var i = css.indexOf('.' + name);
    var numLines = css.substr(0, i).split(/[\r\n]/).length;
  
    var hash = stringHash(css).toString(36).substr(0, 5);
    return '_' + name + '_' + hash + '_' + numLines;
  }
docs: /*
  Custom `generateScopedName` function for `postcss-modules-scope`.
  Short names consisting of source hash and line number.