I have a 98, and have that same piece. One of the holes is the bulb for the security system. One is a light sensor, although I'm not sure if it's for the DRL or the AC, since my car manual says if I have the AC on auto, when sun is hitting the cabin, the AC turns higher. I think it's for both.

The little dome that you're asking about is for the keyless entry I believe.