Symmetric invariant bilinear forms on modular vertex algebras