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');
	}