private function invalidIdentifierTypeErrorMessage(string $method, $id): string
    {
        $tpl = 'Argument 1 passed to %s::%s method must be of the type string, %s given';

        return sprintf($tpl, Container::class, $method, gettype($id));
    }