This enhancement to the object_name function is so wonderfull for the T-Sql guru's under us:
The object_name() function now accepts 2 arguments: the object_id as before and as a second argument the DATABASE_ID. Isn't this wonderfull? We can finally leave the current database context, without to play around with dynamic sql. Simply great!