public function isNameAvailable( $name, $fields = array() )
    {
        $fields = (object) $fields;

        return ! $this->getMapper()
                      ->isNameExists(
                            $name .
                            ( empty( $fields->type ) ? '' : '.' . $fields->type )
                        );
    }