Actually the /set %blah $+ $ident <value> format works since as long as I can remember myself using dynamic variables (about 5.5 and later).