implemented GetTagByIdCommand