Or the tail should check for body being initialized. Or I could add a function enemy:get_parent() to get the creator.
Anyway, you should not bother, let's keep the hardcoded "boss" name for now :)