Rename __name and __type properties.

Refs #5870
Unknown attributes should be a config error.

Refs #5883