When constructing permission name, remove digits at the end