Abstract avatar handling using imageId

Provides flexibility to add / remove sizes and abstracts the logic
behind it.