You're right. I like your way better but I am not quite able to get what I am after. I have the category ID in the url (parameter "DCI") and want to put that into the macro example you provided. I have tried several different ways. For example:
{% SiteObjects.Categories.Filter("\"CategoryID == " + QueryString.GetValue("DCI") + "\"")[0].CategoryName.ToString() %}
Any thoughts? I thought it was just a matter of getting the quotes right but I've tried every combination I could think of.