Change get_role method to use __get internal method