move --format=ids handling to individual commands
Merge pull request #1058 from wp-cli/format-ids

move --format=ids handling to individual commands