Do not rely on command entityFire <id> anymore, only use numbers. Use a library Objectives, which is to be provided in the file prelude.lua.
This is becoming messy. We need a Lua init script that comes with the server code. I would put the library Objectives there. A casual programmer does not have to worry about whether our libraries are written in C++ or Lua.