code: public static <T> T identity(Object self, Closure<T> closure) {
          return DefaultGroovyMethods.with(self, closure);
      }
docs: Allows the closure to be called for the object reference self.
  Synonym for 'with()'.
  
  @param self    the object to have a closure act upon
  @param closure the closure to call on the object
  @return result of calling the closure
  @since 1.0