code: function generateIdFromFilePath(filePath) {
      var arr = filePath.split("/"), len = arr.length, last = arr[len - 1],
          secondLast = arr[len - 2], thirdLast = arr[len - 3];
  
      var isPluginFile = utils.contains(filePath, "/plugins/");
      return isPluginFile ? thirdLast + "/" + last : thirdLast + "/" + secondLast + "/" + last;
  }
docs: Returns unique id depends on file location i.e. a theme file or a plugin file
  @param filePath