whoami and logname are equivalent to id -un, so merge them. Since 'id' and 'groups' start with lower letters than 'logname' and 'whoami', we can just check if the first letter is greater than 'i'.