def format_name(self,name_data):
		shared_logger.debug("NameFormatter.format_name:\nType of name_data is: "+str(type(name_data)))
		if isinstance( name_data, (list,tuple) ):
			shared_logger.debug("Assume list is a name_parts list.")
			result = self.name_parts2formatted(name_data)  #TODO: currently commented out for testing dicts
		elif isinstance(name_data, dict):
			shared_logger.debug("Assume dict is a name_dict.")
			result = self.name_dict2formatted(name_data)
		elif isinstance(name_data, basestring):
			result = name_data
		else:
			raise ValueError("Unrecognized name_data type.")
		shared_logger.debug("NameFormatter.format_name result: '"+result+"'")
		return result
Return one name (stored in `name_data`) as a formatted string.
dataset/ETHPy150Open dschwilk/bibstuff/bibstuff/bibstyles/shared.py/NameFormatter.format_name