fail hard when a name is not explicitly defined in dust.compile

Just updating PR #321 so we can finish milestone 2.3