transparently convert --ids to --format=ids

this keeps the back-compat code separate from the command implementation