Multi-Domain Named Entity Recognition with Genre-Aware and Agnostic Inference