SD: support long variable names

Forgot to regenerate the swig wrapper last time.
This time fixed for sure!
We have an unit test this time.

Fixes #1
Fixes #5