Use quote_identifier and quote_qualified_identifier instead of new functions.
Improve error message for missing UNIQUE index on RMVC.