Hi developers - thanks for your diligent work on this module!

In working through implementing my first bean type in code, I ran into a little hitch. When implementing hook_bean_types(), it turned out that the keys in the return array (i.e. plugin type machine name) must be within a 32-character maximum. But I didn't know this until I went to create the first instance of my bean type, and upon saving, got the SQL error:

PDOException: SQLSTATE[HY000]: General error: 1406 Data too long for column 'type' at row 1: INSERT INTO {bean} (vid, delta, label, title, type, view_mode, data, uid, created, changed) VALUES ...

Since I have seen this kind of error before when I've gone to define blocks in code with deltas exceeding 32 chars, I figured out what was going on and changed the key in my hook_bean_types() implementation. (I also realized that the issue doesn't arise until trying to save an instantiation of a code-defined bean, because that's the first time that the key is entered in the DB anywhere - in the bean.type field.)

This is minor and easy to work around, but what I'm thinking is, it'd be helpful to indicate the char limit when the bean type is first implemented in code. Maybe a warning message when the type is first detected? Or even to not allow it to be loaded e.g. in bean_load_plugin_class_all()? I haven't fully looked through the CTools integration though, so it may be more complicated than I realize.