PowerDesigner can use variables in the generation and reverse-engineering of domains.
        
                
                
                
                    
                        | 
                             Variable 
                         | 
                        
                             Comment 
                         | 
                    
                
                
                    
                        | 
                             %DOMAIN% 
                         | 
                        
                             Generated code of Domain (also available for columns) 
                         | 
                    
                    
                        | 
                             %DEFAULTNAME% 
                         | 
                        
                             Name of the default object associated with the domain (SQL Server specific) 
                         |