French prosecutor: pupils helped identify teacher