Guilty. This is totally just an excuse to post "Bootylicious".
But yeah, it's pretty easy to tell which part of "Edge of Seventeen" is sampled here, the guitar riff! Stevie Nicks even makes an appearance in the music vid, wailing on the guitar at the beginning.
Also, did you ever notice how Beyonce has pink tips in this music video??? So ahead of the trends!