public function setPrimaryName($primary) {
		if (is_string($primary) || is_array($primary)) {
			$this->primary = $primary;
			return;
		}
		
		throw new Exceptions\InvalidOption('Name of primary identity must be a string or an array, "' . gettype($primary) . '" was given');
	}
public function setPrimaryName($primary) {
		if (is_string($primary) || is_array($primary)) {
			$this->primary = $primary;
			return;
		}
		
		throw new Exceptions\InvalidOption('Name of primary identity must be a string or an array, "' . gettype($primary) . '" was given');
	}
public function setPrimaryName ( $ primary ) { if ( is_string ( $ primary ) || is_array ( $ primary ) ) { $ this -> primary = $ primary ; return ; } throw new Exceptions \ InvalidOption ( 'Name of primary identity must be a string or an array, "' . gettype ( $ primary ) . '" was given' ) ; }
Set the name of the primary identity

@param string | array $primary
Set the name of the primary identity