Make attache init allow named profiles. Add weak error checking.

Yeah.  We only need to reset the profile if they've passed a non-empty argument.  But I'll totally forget at some point and probably try and "fix" it... :)