<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _ufo_logging_ref(ufo):
 """Return a string that can identify this UFO in logs."""

    if ufo.path:
        return os.path.basename(ufo.path)
    return ufo.info.styleName