def join_namespace(namespace, ident):
    """
    Joins a namespace and a bare identifier into a full identifier.
    
    >>> join_namespace('a', 'b')
    'a:b'
    >>> join_namespace('', 'b')
    ':b'
    """
    return ':'.join([namespace, ident])