Fixed correct automatic external module identifier generation