apply link style class based on variable name (#4)