add ability to specify definition by name OR id
name takes precidence
repair config parser
type error