Assuming your input is grouped by the key values as shown in your question (if not just sort the input first) then using any awk in any shell on every Unix box and using almost no memory no matter how large your input file is:
$ cat tst.awk
BEGIN { FS=OFS="," }
{ curr = $1 OFS $2 }
curr != prev {
printf "%s%s", ors, curr
prev = curr
ors = ORS
}
{ printf "%s%s", OFS, $3 }
END { printf ors }
$ awk -f tst.awk file
swainb02,Ben Swain,1015,1016,1018,1020
shaiks21,Sarah Shaikh,0073,0080,0082