before this change a sparseSharedVariable would never pass 

assert x.format in ["csr", "csc"]

because it didn't have a format attribute. I figured it was less trouble to add this attribute to the class instead of asserting a special case for it. But I can change that.