GeMID: Generalizable Models for IoT Device Identification