Feature request from avoelkl, posted on GitHub Feb 13, 2015
When working with various customer groups, it's not very handy to work with fixed ID's which are returned by getCustomerGroupId().
Working with customer group codes would be more flexible. Currently the name of the customer group is set as 'customer_group_code' in the admin.
I would recommend to distinguish between name and code as the name might be something more user-friendly for backend admins whereas the code can be used for development.
What are your thoughts on this?