Handling case where nil will respond to :id