u' %s' % generate_name() is more pythonic :)