add field as preference to upload class

I always look for the input field name in preferences to change according to my upload form. $field variable in do_upload method should be in preferences. I have added $field as class property and for backward compatibilty I have added the line below to the do_upload function.
		$field = ($this->field) ? $this->field : $field;