fixed AttributeError: 'Permutation' object has no attribute 'getId'
Merge pull request #1 from mcdit/fix/permutation-attribute-error

fixed AttributeError: 'Permutation' object has no attribute 'getId'