public function get_identifier() {
        static $instances = 0;
        if ($this->lockidentifier === null) {
            $this->lockidentifier = md5(
                $this->get_definition()->generate_definition_hash() .
                sesskey() .
                $instances++ .
                'cache_application'
            );
        }
        return $this->lockidentifier;
    }
public function get_identifier() {
        static $instances = 0;
        if ($this->lockidentifier === null) {
            $this->lockidentifier = md5(
                $this->get_definition()->generate_definition_hash() .
                sesskey() .
                $instances++ .
                'cache_application'
            );
        }
        return $this->lockidentifier;
    }
public function get_identifier ( ) { static $ instances = 0 ; if ( $ this -> lockidentifier === null ) { $ this -> lockidentifier = md5 ( $ this -> get_definition ( ) -> generate_definition_hash ( ) . sesskey ( ) . $ instances ++ . 'cache_application' ) ; } return $ this -> lockidentifier ; }
Returns the identifier to use

@staticvar int $instances Counts the number of instances. Used as part of the lock identifier.
@return string
Returns the identifier to use