Add an id for module when define.amd present