UPD: small optimization of "magic" getter for module->id
Merge pull request #1058 from angel-kulikov/master

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