Determine if passing IDs or Names

Signed-off-by: Paul de Wouters <paul@hmn.md>
Handle passing Ids

Signed-off-by: Paul de Wouters <paul@hmn.md>