Get spark by id

This fixes #180