Get the ID associated with this name

def _vpc_peering_conn_id_for_name(name, conn):
    '''
    Get the ID associated with this name
    '''
    log.debug('Retrieving VPC peering connection id')
    ids = _get_peering_connection_ids(name, conn)
    if not ids:
        ids = [None]  # Let callers handle the case where we have no id
    elif len(ids) > 1:
        raise SaltInvocationError('Found multiple VPC peering connections '
                                  'with the same name!! '
                                  'Please make sure you have only '
                                  'one VPC peering connection named {0} '
                                  'or invoke this function with a VPC '
                                  'peering connection ID'.format(name))

    return ids[0]