original_string: public function generateIdentifier( $id, $attributes = null )
      {
          $identifier = strtolower( $this->backendName )
              . $this->properties['location']
              . $id 
              . (
                  ( $attributes !== null && !empty( $attributes ) ) 
                  ? md5( serialize( $attributes ) ) 
                  : ''
          );
          return urlencode( $identifier );
      }
code: public function generateIdentifier( $id, $attributes = null )
      {
          $identifier = strtolower( $this->backendName )
              . $this->properties['location']
              . $id 
              . (
                  ( $attributes !== null && !empty( $attributes ) ) 
                  ? md5( serialize( $attributes ) ) 
                  : ''
          );
          return urlencode( $identifier );
      }
code_tokens: public function generateIdentifier ( $ id , $ attributes = null ) { $ identifier = strtolower ( $ this -> backendName ) . $ this -> properties [ 'location' ] . $ id . ( ( $ attributes !== null && ! empty ( $ attributes ) ) ? md5 ( serialize ( $ attributes ) ) : '' ) ; return urlencode ( $ identifier ) ; }
docstring: Generates the storage internal identifier from ID and attributes.
  
  @param string $id The ID
  @param array(string=>string) $attributes Attributes describing the data
  @return string The generated identifier
docstring_tokens: Generates the storage internal identifier from ID and attributes .