Should an undergraduate writing an article for a semi-academic magazine list a university affiliation? I'm an undergraduate student at the University of Waterloo. I'm writing a paper potentially for IEEE Security and Privacy, which is a semi-academic magazine. Basically, papers follow the abstract, body, lots of references format, and read like research papers, but apparently generally exposit some random software gadget produced by the author's research etc, so not a super-academic journal.

My question is, how should I put my name on the paper? Should I just write "Yuhao Dong" or "Yuhao Dong, Faculty of Mathematics, University of Waterloo" or something else? I don't want to be misunderstood to be a faculty member.
Grad students often write "PhD candidate" on their websites, etc., so you might consider "Yuhao Dong, BSc candidate, School of Computer Science (or whatever your department is), University of Waterloo".

Edited to add: I was curious, so I checked the author guidelines.  They don't indicate how to specify your affiliation, so I would either ask the editor or look at some articles from the most recent issue and copy their style.