Fix and enhance SES functions

My limited understanding of parameter sets left Get-SESIdenties broken. I fixed that and added filtering of results as penance. :do_not_litter: