#DDC-1590: Fix Inheritance in Code-Generation

http://www.doctrine-project.org/jira/browse/DDC-1590
'namespace ' . $ns,