public function dump()
    {
        $attributes = array();

        if ($this->id) {
            $attributes['$id'] = $this->id;
        }

        foreach ($this->attributes as $key => $value) {
            $schema = $this->schema($key);

            if (! empty($schema['transient'])) {
                continue;
            }

            $attributes[$key] = $value;
        }

        return $attributes;
    }