You could do it with `awk` instead of `grep` if that's acceptable:
MyCmd | awk '/id:/ {print " " $0}'
or if you need grep, `sed` could help:
MyCmd | grep "id:" | sed -e 's/^/ /'
The `awk` version does its own pattern match for lines that contain "id:" and then will print the spaces before the line. The `sed` version does the `grep` as you already did it but then replaces the start of each line (regex `^` matches the start of a line) with the spaces