generating unique grid ids