SQL Server v.Next (Denali) : Breaking change to system databases / database_id / DB_ID()

Currently you may have code that makes decisions based on sys.databases.database_id or the built-in DB_ID() function. I have seen a lot of code out there that checks the database_id, and behaves differently based on...