BaseContainer: getAttr|setAttr for strings