Querying filters with filter_id rather than filter_name

In the CLI, we were using filter_name to perform actions on filters which was
causing problems since filter names can contain slashes and other characters
that are problematic for URLs.
Merge pull request #2009 from daviddavis/filter_id

Querying with filter ids rather than names