why to have MAX_ID_NAME then.. and it looks like this all over the code, hardcoded name lengths to [24] or [32].
Is there someone who has some general knowledge about Blender code and clean it up? It would be much easier to set material name limit to say 64 or 128.