If that is why you think you need ID, then it is wrong. Based on what you have shown so far, the existing record is updated based on SteamID and MapName. Maybe if you provide more code, we can understand what you are trying to do.
I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).