code: public function id($object)
      {
          if ($provider = $this->nearestForClass(get_class($object), 'id')) {
              return call_user_func($provider, $object);
          }
          return '';
      }
docs: {@inheritdoc}
  
  @param object $object
  @return int|string