UUIDType now detects postgresql dialect correctly

It was inconsistent.  When creating the field it used dialect.name, but in other places it just used dialect.