Cache calculated cluster id