in the profile table should be linked to the instrument and genre tables using a foreign key
on the search page, you would create select list to chose the instrument or genre.
the select list will show the name, but set it to pass the ID as the value.
then you can search on the foreign key ID value in the profile page.
see the w3sachools page for more details on related tables in SQL:
sql_join.asp