Move the cookie id generation to the helper
Refactor Cookie Observer.php
Implements View Observer.php