For that echo to work from the command line, you have to evaluate the $calc part.
//echo -a $address($me,$($calc(%host.type - 1),2))
It may work in a script without the separate evaluation. I can never keep that straight.
Also, you'd have to be online. From the help file:
If the Internal Address List doesn't contain a matching nickname, the identifier returns $null.