Eliminate repetitive property code by overriding __getattr__.

Also, consistently use the same names for the on_boundary property everywhere.