Uses existing id where it is passed in.