Ideals in CB(X) arising from ideals in X