Alleged rape attempt on 12-year-old girl, suspect arrested