Improve ::

1. Replace JRequest to $this->input
2. define id_data_type so you can support various data type key.