code: public Tag getTagByName(String name) {
          Tag t = this.tags.get(name);
          if (null == t) {
              t = new Tag(name, this.workspace.getId(), "");
              this.tags.put(name, t);
          }
          return t;
      }
docs: Gets an existing tag by name
  
  @param name Name of the tag
  @return Returns the tag