Using Internal ID to reference original parameter

Can I get a value using the internal ID such as that used in this foreach loop?

:foreach IID in [/ip firewall address-list find list=bogons ] do {
:log [/ip firewall address-list get $IID list ]
}

I would like to be able to log the name of the list an action was performed on.

I found the syntax.

:foreach item in [/ip firewall address-list find where list="bogons"] do {

String output can be parsed for id, address,disabled,dynamic, or list

:put [/ip firewall address-list get $item ];
}