System identification via basis pursuit