I'm wondering if this is possible, if not then i'll feature request it

EC2 has an ability to get basic instance information from within the instance without needing to authenticate with there API - its basically a web interface on an internal only ip that returns key info like ip, instance id etc
I'm currently writing a stack script for a common stack we need to setup including r1soft/idera
now as you may be aware r1soft/idera needs a custom kernel module compiling and i've historically had problems with compiling with the current versions of the kernel so i generally just switch to pv_grub with linode and use the debian stock kernels (i'd rather not but here we are anyway)
as part of the stackscript process i'd like to update the kernel for the config of the linode from the default (which is needed to get things going) to the pv_grub kernel once the relevant inside vm stuff is done (installing the kernel and grub etc so this means i need to work with the API which isnt such a big deal
however i have no way of currently being able to identify the linode without having info to start with (that is i would have to edit the stackscript manually once i created the linode so i can inject the linodeid into the script
so i ask, is this kind of info available to our linodes in any form?