Index: main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py
===================================================================
--- main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py	(revision 13870)
+++ main/waeup.aaue/trunk/src/waeup/aaue/utils/utils.py	(revision 13963)
@@ -18,4 +18,6 @@
 """Customize general helper utilities for Kofa.
 """
+
+import string
 from kofacustom.nigeria.utils.utils import NigeriaKofaUtils
 
@@ -161,2 +163,21 @@
         'Institute of Education': ('dp_ft'),
         }
+
+    def fullname(self, firstname, lastname, middlename=None):
+        """Construct fullname.
+        """
+        try:
+            lastname = lastname.upper()
+        except AttributeError:
+            pass
+        # We do not necessarily have the middlename attribute
+        if middlename:
+            givennames = '%s %s' % (firstname, middlename)
+        else:
+            givennames = '%s' % firstname
+        givennames = string.capwords(
+            givennames.replace('-', ' - ')).replace(' - ', '-')
+        fullname = '%s, %s' % (lastname, givennames)
+        if '<' in fullname:
+            return 'XXX'
+        return fullname
