id_param now returns nil when the param is nil