Make SchemaDumper emit "id: :uuid" when using UUID primary keys

Fixes #10451.