Define a static Elem::invalid_subdomain_id value.

Refs #422.