Core now generates an random id