An Identification based Authentication Protocol for Secure Data Transmission in Ad-Hoc Networks