protected function prepareIdentity($identitySeed)
    {
        $this->getServiceBroker()
            ->service('Identity')
            ->setIdentity($identitySeed);
        
        $identity = $this->getServiceBroker()
            ->service('Identity')
            ->getIdentity();
        
        $this->getServiceBroker()
             ->setDefaultIdentity($identity);
        
        return $identity;
    }