def foname(tag):
    """Append the fo: namespace to the tag.
    If the tag already have a namespace return the tag unmodified.
    """
    if not ':' in tag:
        return 'fo:%s' % tag
    else:
        return tag
