**Describe the bug**
A clear and concise description of what works not as it is supposed to.

```
CREATE TABLE table_repl
(
    number UInt32
)
ENGINE = ReplicatedMergeTree("/clickhouse/{cluster}/tables/{shard}/table_repl", "{replica}")
PARTITION BY intDiv(number, 1000)
ORDER BY number
```

yields an Exception:

`DB::Exception: No macro 'uuid' in config while processing substitutions in '/clickhouse/tables/{uuid}/{shard}' at '20' or macro is not supported here.
`

**How to reproduce**
* Which ClickHouse server version to use: 20.9.1

**Expected**

The error is that the query should contain only single-quoted strings, but the message is quite misleading.
So the exception should be like "You're using double-quoted strings, which is prohibited".

metadata.column_ttls_by_name[name] = new_ttl_entry;
        }
        storage_settings->loadFromQuery(*args.storage_def);
        
        if (args.storage_def->settings)
            metadata.settings_changes = args.storage_def->settings->ptr();
        size_t index_granularity_bytes = 0;
        size_t min_index_granularity_bytes = 0;
        index_granularity_bytes = storage_settings->index_granularity_bytes;
        min_index_granularity_bytes = storage_settings->min_index_granularity_bytes;
        /* the min_index_granularity_bytes value is 1024 b and index_granularity_bytes is 10 mb by default
         * if index_granularity_bytes is not disabled i.e > 0 b, then always ensure that it's greater than
         * min_index_granularity_bytes. This is mainly a safeguard against accidents whereby a really low
         * index_granularity_bytes SETTING of 1b can create really large parts with large marks.
        */
        if (index_granularity_bytes > 0 && index_granularity_bytes < min_index_granularity_bytes)
        {
            throw Exception(
                "index_granularity_bytes: " + std::to_string(index_granularity_bytes)
                    + " is lesser than specified min_index_granularity_bytes: " + std::to_string(min_index_granularity_bytes),
                ErrorCodes::BAD_ARGUMENTS);
        }
    }
    else
    {
        
        
        if (!tryGetIdentifierNameInto(engine_args[arg_num], date_column_name))
            throw Exception(
                "Date column name must be an unquoted string" + getMergeTreeVerboseHelp(is_extended_storage_def),