src/Concerns/HasHttpAssertions.php
protected function identifier($id, string $type = null): array
    {
        return Compare::identifier($id, $type ?: $this->getExpectedType());
    }
protected function identifier($id, string $type = null): array
    {
        return Compare::identifier($id, $type ?: $this->getExpectedType());
    }
Ensure the value is a resource identifier.

@param UrlRoutable|string|int|array $id
@param string|null $type
@return array