public function readIdentifier()
    {
        try {
            return $this->readString();
        } catch (BinaryStreamAccessException $e) {
            $msg = "An error occured while reading an identifier.";
            throw new QtiBinaryStreamAccessException($msg, $this, QtiBinaryStreamAccessException::IDENTIFIER, $e);
        }
    }