def id2url(_id):
    """Generate a URL for the given compact URI (CURIE), if possible.

    :param curie: A compact URI (CURIE) in the form of `prefix:identifier`
    :returns: A URL string if the Bioregistry can construct one, otherwise None.

    >>> id2url("mesh:D009369")
    'https://bioregistry.io/mesh:D009369'
    >>> id2url("NCBIGene:10533")
    'https://bioregistry.io/NCBIGene:10533'
    """

    return f"https://bioregistry.io/{_id}"