Return the name of a string, TimeAwareSymbol, or sp.Symbol object.
- Parameters:
- x
str, or sp.Symbol The object whose name is to be returned. If str, x is directly returned.
- base_name: bool
If True, return TimeAwareSymbol base name (the name without any time suffix)
- Returns:
- name:
str The name of the object.