Ensure ModuleEntity has an entity identifier configured

- No entity identifier was configured, leading to zf-hal raising an exception
  when serializing a newly created/returned module.