Implement id list command