def cmdFriendlyNameFromPlug(plug):
    """
    The function argument names for the call as we need it look ugly, so this
      exists purely for some semantic compression.
    Give a plug it will return the full, command friendly string identifying it
    :param plug: `MPlug | None` a valid Maya Plug, or None to get an empty string
    :return: `str` a string containing the full path, host object included, to the plug
    """
    if plug is None:
        return ''
    return plug.partialName(useFullAttributePath=True,
                            includeNodeName=True,
                            useLongNames=True)