Added --id-only option.