Enforce identifier in addon equality checks

Restrict addon developers from providing faulty equals and hashcode
methods but they are free to change the toString

Signed-off-by: Chris Sanders <zidane@outlook.com>