Use models_v2.HasId for PacketFilter

PacketFilter is a mode on Quantum side, so ID should be UUID-style
Fix a PEP8 issue in NEC plugin