cdeavionics is correct, ILS idents are 1020Hz tones, while DME are 1350Hz. The difference in pitch is quite different.
For co-located stations, the ILS ident typically is repeated 4 times on an approximately 30 second cycle, followed by a single DME ident, after which the ILS restarts. In other words the idents are interleaved with ILS, ILS, ILS, ILS, DME... and repeat.
- GY