Refactor unique name generation logic

- Changed the method name getStreamName()/getJobName() to read generateStreamName()/generateJobName()
- Refactored the methods