Hi PatBayford,
Please open project "lazarus.lpi" from $(LazarusDir)\IDE directory, then open "customformeditor.pp" file(see attached screenshot1). As you can see your component name is assigned, more over after assignment is checked for duplicate. Since every component must have a valid name(see attached screenshot2), any user written component should have a name. Perhaps there is an internal exception in your code that causes the issue.
PS: You can set a breakpoint to "customformeditor.pp"(line 2260) and check what is happening with your component.
regards,
GetMem