Auto populate the leach ID if it is left blank