@staticmethod<EOL><INDENT>def to_name(nm):<DEDENT>
if pimms.is_str(nm): return nm<EOL>if not pimms.is_vector(nm): raise ValueError('<STR_LIT>')<EOL>if len(nm) < <NUM_LIT:1>: raise ValueError('<STR_LIT>')<EOL>if not pimms.is_str(nm): raise ValueError('<STR_LIT>')<EOL>if not all(pimms.is_str(x) or pimms.is_number(x) for x in nm):<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>return tuple(nm)<EOL>
Dataset.to_name(name) yields a valid dataset name equivalent to the given name or raises an
  error if name is not valid. In order to be valid, a name must be either strings or a tuple
  of number and strings that start with a string.