Attributes access in objects is now made with perfect hashing

Signed-off-by: Julien Pagès <julien.projet@gmail.com>