protected string RewriteTargetIfWithinObjectScope(string target) { if (objectStack.Count == 0) { return target; } else { return ((FormScopeInfo) objectStack.Peek()).RootTarget + "." + target; } }