fixes #5036 BZ1075238 - specify table name explicitly in pluck

On rails-3.2.8 some psql generated inner joins which pluck needs to have explicit table name for "id".