From past discussion along these same lines, my understanding is that the lens identification in the EXIF is a result of collaboration between the lens maker, the camera maker, and possibly the software maker (Adobe, etc). The lens communicates a code to the camera, which the camera is supposed to use to link to a specific lens ID, which is then read by the computer software. I found this link for the Pentax EXIF lens codes:
Pentax Tags
I'm not sure how up to date it is, but I do see that it contains codes for some of my Sigma lenses that are not being identified correctly, such as the 50-150mm f2.8 and the newish 85mm f1.4. I wonder if there are firmware updates from Sigma and/or Pentax that would result in my Sigma lenses being correctly identified on my K-30?
That reminds me...it's been a few years now, but it seem like when I sent my new Sigma 50-150mm f2.8 in for calibration back in 2010 or early 2011, that I mentioned to them that the lens was not being identified in EXIF information, and asked if there was anything they could do about it. I think that upgraded the firmware, and when they sent it back, that's when it started being identified as the Sigma 70-200mm f2.8, rather than just generic "Sigma lens". I considered it an improvement, since I didn't own the 70-200mm, so I knew that whenever I saw 70-200mm in the EXIF, it was actually referring to my 50-150mm.