Is the creator of a flag stored in the database? Is the uid of the user who created a specific flag stored in the database? Where is it stored?
Yes, it's stored in the flag_content table, in the uid column which is defined as


  The user ID by whom this content was flagged.