Add hash function for procedure table and variable table