def get_datastore_id(client, name):
    """return the id of a datastore

    arguments:
    client -- an authenticated trove client
    name -- the name of the datastore to find

    returns:
    the id of the datastore or None if not found
    """
    try:
        store = client.datastores.find(name=name)
        return store.id
    except Exception:
        return None