Fix integer types for subdomain ids

We now use bfam_locidx_t for subdomain ids instead of
p4est_locidx_t.
Add id number to subodomains