def _generate_user_id(user):
 return '{0}_user_id'.format(user.name).lower()

def _generate_user_id ( user ) : return '{0}_user_id' . format ( user . name ) . lower ( )
return a user id for the given user factory stub object .