UPD: small optimization of "magic" getter for module->id