implement simple spl_object_hash

Challenge Accepted! :+1: 
How's performance of this compare to `method_exists($value, '__toString')`?