def state_ocd_id(state):
    """Get the OCD ID of the state

    Returns the state OCD ID, which can be used both alone and as a prefix

    Args:
        state: state CD (uppercase)

    Returns:
        OCD ID of the state
        string
    """
    if state == 'DC':
        state_id = 'ocd-division/country:us/district:dc'
    else:
        state_id = 'ocd-division/country:us/state:{state}'.format(
            state=state.lower())
    return state_id