code: public static String getKey(String category, String name)
      {
          if(category != null && name != null)
              return category+":"+name;
          return null;
      }
docs: Sets the key of the label from the name and category.
  @param category The category of the label
  @param name The name of the label
  @return The key in the format "category:name"