def get_name(s, isconj=False):
    """Parse variable names of form 'var_' as 'var' + conjugation."""
    if not type(s) is str:
        if isconj:
            return str(s), False
        else:
            return str(s)
    if isconj:
        return s.rstrip("_"), s.endswith("_")  # tag names ending in '_' for conj
    else:
        return s.rstrip("_")