There is a new regulation since February 2016 and some foreigners are now eligible to get a Thai ID Card, but unlike Thai people which is blue, this one is pink. It is delivered by the Tessaban of your locality (Khet in Bangkok). Please have a look at our text on this subject here: http://www.isaanlawyers.com/pink-thai-id-card-foreigners-thailand/