docs: function addonsManager_getCategoryId(aSpec) {
      var spec = aSpec || { };
      var category = spec.category;
  
      if (!category)
        throw new Error(arguments.callee.name + ": Category not specified.");
  
      return category.getNode().id;
    }