A role for immunology in invasion biology