code: public String getlocalName() {
          if (fqn.contains(".")) {
              return this.fqn.substring(fqn.lastIndexOf('.') + 1, this.fqn.length());
          }
          return fqn;
      }
docs: Get the local name of the script.
  
  @return a non-empty String