Make AmdLoader.cacheModule responsible for checking the ID value.