I've changed the offsets for determining an entity's attack ID such that the ID will not change after relogging. I'm pretty confident these offsets should work because the attack ID matches the ID that shows up on the hotbar as well. In fact, you can use the hotbar ID as the attack ID if you want. Both -hotbar and -displayaid will display the same ID for the same ability.
This change requires updating Speeder to version 31.