Fixed duplicated index name mentioned in #51.

MySQL and Postgres now will not suffer from the duplicated index name problem. Local field is added on the name for clarity.