fixed some issues

* form_name helper to generate self.model_name
* added unique_id option to command_gernerator
* removed generating ids for commands and events all the time