Helper method to parse args that can take either id, name, state or query.
list of ids
Enter search terms or a module, class or function name.