Assign Category Id As A Class On Dropdown Menu V3

Hello,

I want to assign category id as a class on the dropdown menu of cs-cart v3. Can anyone help me with this? I tried to figure it out by myself, but I can't :S



Thank you in advance