Primary key with spaces

Some evil developer at my work, in MSSQL, created a table with a primary key with a space, something like: 'Id Stabile' :weary: 
With this simple edit I was able to query the table. I don't want to put an if around the pickup of the primary key, it will slow down the code without a reason. Only adding the square brackets che code works in any cases.

I would like to add some tests but I don't have a MSSQL right now...