public function getNamespaceForForm(AmForms_FormModel $form, $createNewOnEmpty = true)
{
if (!isset($this->_namespaces[$form->id]) && $createNewOnEmpty) {
$this->_namespaces[$form->id] = 'form_' . StringHelper::randomString(10);
}
return isset($this->_namespaces[$form->id]) ? $this->_namespaces[$form->id] : false;
}