support specifying the field of a foreign key for mssql

The MSSQL dialect implements its own sql generator, and was accidentally adding an extra raw attribute for an aliased field. Sorry for the whitespace changes, the editor has a mind of its own!