If your friend can pick you up and drive you through the gate, you most likely won't need an ID. Although, most bases do 100% ID check of everyone in the vehicle after like 10pm.
My family and I went to Lackland AFB for my husband's basic training graduation and had no problems. We all used our Mexican passports (my dad had his DL but only had the temp piece of paper at the time we went).
Don't worry about it. They don't have time to check everyone's status that comes in the gates. They'll just glance at your ID and let you through. Just make sure you don't do anything stupid while on base, and you'll be fine.