Text this: A construction of some ideals in affine vertex algebras