def get_documentation_str(node):
    """
    Retrieve the documentation information from a cwl formatted dictionary.
    If there is no doc tag return the id value.
    :param node: dict: cwl dictionary
    :return: str: documentation description or id
    """
    documentation = node.get("doc")
    if not documentation:
        documentation = node.get("id")
    return documentation