Extract modid