I Googled and some says frame.packet_id is "a unique identifier that is assigned to each network packet". I tried to get it in my Lua dissector but the field always returned nil. The earlier Field.new() did not report error so I suppose frame.packet_id is a known field name.