blank (loginid will be outputted directly to template)
store_var="my_special_loginid"
Output
If store_var is set, then the function will store the corresponding loginid to that variable. Otherwise, the function will simply return the loginid onto the template itself.
Notes
If an invalid campaignid is passed into the function, the result will always be 0.