DHCP server script Internal Global variables

Has anyone used the built in variable names in the DHCP Server script?

lease-script (string; Default: “”)
Script that will be executed after lease is assigned or de-assigned. Internal “global” variables that can be used in the script:
leaseBound - set to “1” if bound, otherwise set to “0”
leaseServerName - dhcp server name
leaseActMAC - active mac address
leaseActIP - active IP address
lease-hostname - client hostname
lease-options - array of received options

Using leaseActMac and leaseActIP works just fine but
Trying to use lease-hostname. the “-” in the variable name is not agreeing with the script.
Tried using leaseHostname to follow the convention of the other variable names but does not work

Valid characters in variable names are letters and digits. If variable name contains any other character, then variable name should be put in double quotes. Example:

#valid variable name
:local myVar;  
#invalid variable name
:local my-var; 
#valid because double quoted
:global "my-var";

https://wiki.mikrotik.com/wiki/Manual:Scripting#Variables

simply: use $“lease-hostname”

:if ($leaseBound = "1") do={
 :log info ($"lease-hostname"." request an IP")
} else={
 :log info ($"lease-hostname"." release the IP")
}