KT-4950: Insert type intention now only applicable in function names

Fix for this issue http://youtrack.jetbrains.com/issue/KT-4950