Allow to transform anon defines to named. - WIP

This is a first go at deanonimizing amd modules so they just work.

fixed.