red-brick: Move object ID checks in API wrappers one level up

This avoids unnecessary signal emits.
red-brick/pi: Nicer files tree header sizes