Enhancing Autonomous Vehicle Security with ML-Based IDS