discover/grub: Use --id values for default option detection