Added several functionality to get more than 1 ID

Fixes #348