def METHOD_NAME(instance, basedn):
    """Create the base nsContainer object"""
    cn = nsContainer(instance, dn=basedn)
    # Explode the dn to get the first bit.
    avas = dn.str2dn(basedn)
    cn_ava = avas[0][0][1]
    cn.create(properties={
        # I think in python 2 this forces unicode return ...
        'cn': cn_ava,
    })
    return cn