Better error on AN import for missing speaker ID.

And display a more informative generic error too.
Reduce code duplication in select2_tests.