SCHEMA-173. Improves CLI input of EntityIds and tests ToolUtils parsing ...

...of CLI input.
@lsheng could you review this?
@shashir you may be interested for SCHEMA-240.