Implemented an error_ids method on the error queue to allow for slighly ...

...less expensive querying.

@dwoos